package ytdp.careagle.com.ytdp.entity;

import com.google.gson.Gson;

import java.io.Serializable;

/**
 * Created by lida on 2017/7/31 0031.
 */

public class ValuationQuery implements Serializable{

    /**
     * recordId : 3
     * queryTime : 2017-07-31 21:01
     * imageUrl : null
     * modelName : null
     * mileage : 12.6978
     * firstRegDate : 2007-01-01
     * cityName : null
     * purchasePrice : 0.743
     * retailPrice : 1.809
     * retailPredictPrice : {"2018":1.45}
     * purchasePredictPrice : {"2018": "0.595"}
     * newCarGuidePrice : 11.98
     * cityName : 杭州
     */

    private int recordId;
    private String queryTime;
    private String imageUrl;
    private String modelName;
    private double mileage;
    private String firstRegDate;
    private String cityName;
    private double purchasePrice;
    private double retailPrice;
    private String retailPredictPrice;
    private String purchasePredictPrice;
    private double newCarGuidePrice;
    private double cityLocalPrice;

    public static ValuationQuery objectFromData(String str) {

        return new Gson().fromJson(str, ValuationQuery.class);
    }

    public double getCityLocalPrice() {
        return cityLocalPrice;
    }

    public void setCityLocalPrice(double cityLocalPrice) {
        this.cityLocalPrice = cityLocalPrice;
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public String getQueryTime() {
        return queryTime;
    }

    public void setQueryTime(String queryTime) {
        this.queryTime = queryTime;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public double getMileage() {
        return mileage;
    }

    public void setMileage(double mileage) {
        this.mileage = mileage;
    }

    public String getFirstRegDate() {
        return firstRegDate;
    }

    public void setFirstRegDate(String firstRegDate) {
        this.firstRegDate = firstRegDate;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public double getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(double purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public double getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(double retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getRetailPredictPrice() {
        return retailPredictPrice;
    }

    public void setRetailPredictPrice(String retailPredictPrice) {
        this.retailPredictPrice = retailPredictPrice;
    }

    public String getPurchasePredictPrice() {
        return purchasePredictPrice;
    }

    public void setPurchasePredictPrice(String purchasePredictPrice) {
        this.purchasePredictPrice = purchasePredictPrice;
    }

    public double getNewCarGuidePrice() {
        return newCarGuidePrice;
    }

    public void setNewCarGuidePrice(double newCarGuidePrice) {
        this.newCarGuidePrice = newCarGuidePrice;
    }
}
